<?php
class PowerGroup extends BaseBean{

    protected $_table= "tb_powers_group";
    protected $_primarykey= "id";

    public function __construct(){
        $this->addChild("Powers","id","group_id");
    }


    public function loadChildren($forceReload = false) {
    	parent::loadChildren($forceReload,new SqlFilter("state",EQUALS,1));
    }


}
?>